package com.yejiali.backend.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:yejiali
 * @Date:2025/7/22-07-22-14:30
 * @Decsription:com.yejiali.backend.entity.dto
 * @Version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO {
    private Long userId;
    //昵称
    private String nickname;
    //头像URL
    private String avatar;
    //个性签名
    private String signature;
    //出生日期
    private Date birthDate;
    //硬币余额
    private Long coinBalance;
    //会员等级
    private Integer memberLevel;
    //电话号码
    private String phoneNumber;
    //邮箱
    private String email;
    //最后登录时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime;
    //性别（0男，1女）
    private Integer gender;
    //微信登录openId
    private String openId;

    //是否关注该用户
    private Boolean isFollowed;
}
